@mixin ellipsis($line: 1) {
    display: -webkit-box;
    -webkit-line-clamp: $line;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@mixin error {
    height: 40rpx;
    line-height: 40rpx;
    font-size: 24rpx;
    color: var(--red);
}

@mixin center {
    display: flex;
    align-items: center;
    justify-content: center;
}